package com.ruoyi.video.domain.vo;

import javax.validation.constraints.NotNull;

public class LoginParam {

    @NotNull(message = "用户手机不能为空", groups = {AddGroup.class})
    private String phone;

    @NotNull(message = "用户密码不能为空", groups = {AddGroup.class})
    private String password;

    public interface AddGroup {

    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
